7a6b8a526fb05087caaa782eef0ce6abd09c3ef6,src/net/java/sip/communicator/impl/gui/main/login/CertificateVerificationServiceImpl.java,VerifyCertificateDialog,init,#,136
Before Change
TransparentPanel southPanel =
new TransparentPanel(new BorderLayout());
southPanel.setBorder(BorderFactory.createEmptyBorder(0, 5, 5, 5));
certPanel = new TransparentPanel();
southPanel.add(certPanel, BorderLayout.CENTER);
After Change
contentPane =
new TransparentPanel(new BorderLayout(5, 5));
TransparentPanel northPanel =
new TransparentPanel(new BorderLayout(5, 5));
northPanel.setBorder(BorderFactory.createEmptyBorder(10, 5, 5, 5));
JLabel imgLabel = new JLabel(
GuiActivator.getResources().getImage(
"impl.media.security.zrtp.CONF_ICON"));
imgLabel.setBorder(BorderFactory.createEmptyBorder(5, 5, 5, 5));
northPanel.add(imgLabel, BorderLayout.WEST);
String descriptionTxt = GuiActivator.getResources()
.getI18NString(
"service.gui.CERT_DIALOG_DESCRIPTION_TXT",
new String[]{
GuiActivator.getResources().getSettingsString(
"service.gui.APPLICATION_NAME"),
host,
String.valueOf(port)});
JLabel descriptionLabel = new JLabel(descriptionTxt);
northPanel.add(descriptionLabel, BorderLayout.CENTER);
contentPane.add(northPanel, BorderLayout.NORTH);
certPanel = new TransparentPanel();
contentPane.add(certPanel, BorderLayout.CENTER);